var builder = WebApplication.CreateBuilder(args).Inject();

builder.Services.AddCustom();

var app = builder.Build();

app.UseCustom();

app.Run();
